package com.system.stockservice.service;

import com.system.commonutils.bean.ApiResult;
import com.system.commonutils.bean.PagesBean;
import com.system.commonutils.pojo.GoodsType;
import com.system.commonutils.pojo.Stock;
import com.system.commonutils.pojo.Stock_info;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.text.ParseException;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: GPC
 * Date: 2020/07/07 8:51
 * Description:
 * Version: V1.0
 */


public interface StockService {
    ApiResult selectStock(Stock stock);

    ApiResult addStock(Stock stock) throws ParseException;

    ApiResult updateStock(Stock stock);

    ApiResult selectinfo(Stock_info stock);

    ApiResult updateinfo(Stock_info stock);

    ApiResult addinfo(Stock stock);

    List<Stock> selectByTBId(Stock stock);

    ApiResult updateStockNmuber(String orders_no);

//    @RequestMapping(value = "/goodsType/goodsType/queryGoods",
//            method = RequestMethod.GET,
//            produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
//    List<GoodsType> goodsType();


}
